home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Power Programmierung
/
Power-Programmierung (Tewi)(1994).iso
/
mutt
/
bs_untab.mut
< prev
next >
Wrap
Text File
|
1988-09-07
|
425b
|
19 lines
;; bs_untab.mut : backup 1 character even if that char is a tab
(defun
BS-untabify
{
(int ts)
(if (not (previous-character)) (done)) ; at beginning of buffer
(if (looking-at "^I") ; change tab to blanks
{
(ts (tab-stops))(tab-stops 8)
(tab) ; tabs-worth-of-blanks blank dot
(delete-previous-character)
(tab-stops ts)
})
(delete-character)
}
)